package edu.whut.mall.pojo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
import java.util.Date;

/**
 * Author: smq
 * Unit: D9lab
 * Date: 2021-06-07 16:15
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = 16;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private boolean status;
    private String wxName;
    private String username;
    private String password;
    @TableField("app_open_id")
    private String appOpenId;
    private String unionId;
    private Date createTime;
    private Date updateTime;
    private String phone;
    private String email;
    private Integer picture;
    private Integer pictureThumb;
    private String name;
    private boolean verify;
    private String openId;
    private String description;
    private String address;
    private Integer isTest;
    private Integer isDeleted;
}